<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
<form th:action="@{/login1_do}" method="post">
    用户名:<input th:type="text" name="username" required="required"><br>
    密码:<input th:type="password" name="password"><br>
    <input th:type="submit" th:value="提交">
    <input th:type="reset" th:value="重置">
</form>
<!--/*@thymesVar id="msg" type="text"*/-->
<p style="color: red" th:text="${msg}"></p>

</body>
</html>